<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="bower_components/requirejs/require.js"></script>
    <script>
        requirejs.config({});
        require(['require',"./pages"],function(require,pages){
            /*
                require 虽然是可以在这个地方用，但是不能再require模块
                否则会报   Uncaught Error: Module name "other" has not been loaded yet for context: _
                var other = require('./other');
            */
            alert(pages.version);
        });
    </script>
</head>
<body>
    main page
</body>
</html>